import { Injectable } from '@angular/core';
import { Http } from '@angular/http';

@Injectable()

export class ManhuaPageProvider {

    constructor(private http: Http) { }

    page(param){
        return this.http.post('/api/manhua/page',param);
    }

    search(param){
        return this.http.get('/api/manhua/search',{search:param});
    }

    favor(param){
        return this.http.get('/api/manhua/infoAdd',{search:param});
    }
}